[INFO] cloning repository https://github.com/chenshuanj/rust-lib_winapi
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chenshuanj/rust-lib_winapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchenshuanj%2Frust-lib_winapi", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchenshuanj%2Frust-lib_winapi'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a876c14b14979ec3f808cac9705a361c4b912da9
[INFO] building chenshuanj/rust-lib_winapi against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchenshuanj%2Frust-lib_winapi" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/chenshuanj/rust-lib_winapi on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/chenshuanj/rust-lib_winapi
[INFO] finished tweaking git repo https://github.com/chenshuanj/rust-lib_winapi
[INFO] tweaked toml for git repo https://github.com/chenshuanj/rust-lib_winapi written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/chenshuanj/rust-lib_winapi already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] aaaffc1f5babeb24ca8ce5c88b97682fa32997241eacc8f5f8c8b40072f223b3
[INFO] running `Command { std: "docker" "start" "-a" "aaaffc1f5babeb24ca8ce5c88b97682fa32997241eacc8f5f8c8b40072f223b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aaaffc1f5babeb24ca8ce5c88b97682fa32997241eacc8f5f8c8b40072f223b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aaaffc1f5babeb24ca8ce5c88b97682fa32997241eacc8f5f8c8b40072f223b3", kill_on_drop: false }`
[INFO] [stdout] aaaffc1f5babeb24ca8ce5c88b97682fa32997241eacc8f5f8c8b40072f223b3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 90dea71b315d8567bc45eff9d4e454bf2eaaf51c0860b4ee4283e7eb5a36a577
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "90dea71b315d8567bc45eff9d4e454bf2eaaf51c0860b4ee4283e7eb5a36a577", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling winapi v0.2.5
[INFO] [stderr]    Compiling user32-sys v0.1.2
[INFO] [stderr]    Compiling simplewindow v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `user32::CreateWindowExW`, `user32::DefWindowProcW`, `user32::RegisterClassW`, `user32::GetDlgItem`, `user32::GetWindowTextLengthW`, `user32::GetWindowTextW`, `user32::UpdateWindow`, `user32::GetMessageW`, `user32::TranslateMessage`, `user32::DispatchMessageW`, `user32::MessageBoxW`, `user32::PostQuitMessage`, `user32::SetWindowLongPtrW`, `user32::GetWindowLongPtrW`, `user32::LoadImageW`
[INFO] [stdout]  --> src/main.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use user32::{CreateWindowExW, DefWindowProcW, RegisterClassW, GetDlgItem, GetWindowTextLengthW, GetWindowTextW, UpdateWindow,
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^ no `UpdateWindow` in the root
[INFO] [stdout]   |              |                |               |               |           |                     |
[INFO] [stdout]   |              |                |               |               |           |                     no `GetWindowTextW` in the root
[INFO] [stdout]   |              |                |               |               |           no `GetWindowTextLengthW` in the root
[INFO] [stdout]   |              |                |               |               no `GetDlgItem` in the root
[INFO] [stdout]   |              |                |               no `RegisterClassW` in the root
[INFO] [stdout]   |              |                no `DefWindowProcW` in the root
[INFO] [stdout]   |              no `CreateWindowExW` in the root
[INFO] [stdout] 8 |     GetMessageW, TranslateMessage, DispatchMessageW, MessageBoxW, PostQuitMessage, SetWindowLongPtrW, GetWindowLongPtrW, LoadImageW
[INFO] [stdout]   |     ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout]   |     |            |                 |
[INFO] [stdout]   |     |            |                 no `DispatchMessageW` in the root
[INFO] [stdout]   |     |            no `TranslateMessage` in the root
[INFO] [stdout]   |     no `GetMessageW` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/main.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `winapi::c_int`, `winapi::UINT`, `winapi::LPARAM`, `winapi::DWORD`, `winapi::POINT`, `winapi::LPMSG`, `winapi::LRESULT`, `winapi::HMENU`, `winapi::GWL_USERDATA`, `winapi::LPVOID`, `winapi::WS_OVERLAPPEDWINDOW`, `winapi::WS_VISIBLE`, `winapi::BS_PUSHBUTTON`, `winapi::WS_CHILD`, `winapi::WM_DESTROY`, `winapi::WM_CREATE`, `winapi::WM_COMMAND`, `winapi::CW_USEDEFAULT`, `winapi::HINSTANCE`, `winapi::HWND`, `winapi::LPCWSTR`, `winapi::WNDCLASSW`, `winapi::WPARAM`, `winapi::MSG`, `winapi::MB_OK`, `winapi::WS_BORDER`, `winapi::WS_VSCROLL`
[INFO] [stdout]   --> src/main.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::{c_int, UINT, LPARAM, DWORD, POINT, LPMSG, LRESULT, HMENU, GWL_USERDATA, LPVOID,
[INFO] [stdout]    |              ^^^^^  ^^^^  ^^^^^^  ^^^^^  ^^^^^  ^^^^^  ^^^^^^^  ^^^^^  ^^^^^^^^^^^^  ^^^^^^ no `LPVOID` in the root
[INFO] [stdout]    |              |      |     |       |      |      |      |        |      |
[INFO] [stdout]    |              |      |     |       |      |      |      |        |      no `GWL_USERDATA` in the root
[INFO] [stdout]    |              |      |     |       |      |      |      |        no `HMENU` in the root
[INFO] [stdout]    |              |      |     |       |      |      |      no `LRESULT` in the root
[INFO] [stdout]    |              |      |     |       |      |      no `LPMSG` in the root
[INFO] [stdout]    |              |      |     |       |      no `POINT` in the root
[INFO] [stdout]    |              |      |     |       no `DWORD` in the root
[INFO] [stdout]    |              |      |     no `LPARAM` in the root
[INFO] [stdout]    |              |      no `UINT` in the root
[INFO] [stdout]    |              no `c_int` in the root
[INFO] [stdout] 11 |     WS_OVERLAPPEDWINDOW, WS_VISIBLE, BS_PUSHBUTTON, WS_CHILD, WM_DESTROY, WM_CREATE, WM_COMMAND,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 12 |     CW_USEDEFAULT, HINSTANCE, HWND, LPCWSTR, WNDCLASSW, WPARAM, MSG, MB_OK, WS_BORDER, WS_VSCROLL
[INFO] [stdout]    |     ^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^  ^^^^^^^  ^^^^^^^^^  ^^^^^^  ^^^  ^^^^^  ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/main.rs:19:40
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let v : Vec<u16> = OsStr::new(str).encode_wide().chain(Some(0).into_iter()).collect();
[INFO] [stdout]    |                                        ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `simplewindow`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "90dea71b315d8567bc45eff9d4e454bf2eaaf51c0860b4ee4283e7eb5a36a577", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "90dea71b315d8567bc45eff9d4e454bf2eaaf51c0860b4ee4283e7eb5a36a577", kill_on_drop: false }`
[INFO] [stdout] 90dea71b315d8567bc45eff9d4e454bf2eaaf51c0860b4ee4283e7eb5a36a577
